package List;

import java.util.List;

/**
 * @author yeweilin
 */
public class GenericTest<T,F>  extends GenericSon<F> implements GenericInteface<F>{

    private F name;

    public GenericTest() {
    }

    public List<F> getS(List<F> list){
        return list;
    }

    public GenericTest(F name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "GenericTest{" +
                "name=" + name +
                '}';
    }

    public F getName() {
        return name;
    }

    public void setName(F name) {
        this.name = name;
    }

    @Override
    public F getT() {
        return null;
    }
}
